package com.cloudbroker.bcs.platform.ltb.bizapi.service.user.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.UserVO;

/**
 * Created by tianrui on 2016/7/6.
 */
public class UserPasswordRestForm extends UserVO {

    private static final long serialVersionUID = 1L;

    @Mobile
    @NotBlank
    protected String mobile_tel;

    @NotBlank
    @Length(max = 10)
    protected String auth_check_code;

    @Password
    @Length(max = 50)
    @NotBlank
    protected String new_password;

    @NotBlank
    protected String user_type;

    public String getMobile_tel() {
        return mobile_tel;
    }

    public void setMobile_tel(String mobile_tel) {
        this.mobile_tel = mobile_tel;
    }

    public String getAuth_check_code() {
        return auth_check_code;
    }

    public void setAuth_check_code(String auth_check_code) {
        this.auth_check_code = auth_check_code;
    }

    public String getNew_password() {
        return new_password;
    }

    public void setNew_password(String new_password) {
        this.new_password = new_password;
    }

    @Override
    public String getUser_type() {
        return user_type;
    }

    @Override
    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }
}
